home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-05-01 | 2.4 KB | 75 lines | [TEXT/MPS ] |
- ;
- ; File: KeyboardPlugin.a
- ;
- ; Contains: Required interface for Keyboard Family-Plugins
- ;
- ; Version: Technology:
- ; Release: Universal Interfaces 3.0d3 on Copland DR1
- ;
- ; Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
- ;
- ; Bugs?: If you find a problem with this file, send the file and version
- ; information (from above) and the problem description to:
- ;
- ; Internet: apple.bugs@applelink.apple.com
- ; AppleLink: APPLE.BUGS
- ;
- ;
- IF &TYPE('__KEYBOARDPLUGIN__') = 'UNDEFINED' THEN
- __KEYBOARDPLUGIN__ SET 1
-
- IF &TYPE('__TYPES__') = 'UNDEFINED' THEN
- include 'Types.a'
- ENDIF
- IF &TYPE('__KEYBOARD__') = 'UNDEFINED' THEN
- include 'Keyboard.a'
- ENDIF
- IF &TYPE('__NAMEREGISTRY__') = 'UNDEFINED' THEN
- include 'NameRegistry.a'
- ENDIF
- IF FOR_SYSTEM8_PREEMPTIVE THEN
- ;
- ;####################################################################################
- ; Constructor/Destructor Messages
- ;####################################################################################
- ;
- ; normal termination
- ; error condition termination
- ;
- ;####################################################################################
- ; Control Messages
- ;####################################################################################
- ;
- ;
- ;####################################################################################
- ; Functional Messages
- ;####################################################################################
- ;
- ;
- ;####################################################################################
- ; Dispatch Table Definition
- ;####################################################################################
- ;
-
- kKeyboardPluginDispatchTableVersion1 EQU $0001
- kKeyboardPluginDispatchTableCurrentVersion EQU $0001
- KeyboardPluginDispatchTable RECORD 0
- version ds.w 1 ; offset: $0 (0)
- PlugInInit ds.l 1 ; offset: $2 (2)
- PlugInFree ds.l 1 ; offset: $6 (6)
- PlugInEject ds.l 1 ; offset: $A (10)
- PlugInStartIO ds.l 1 ; offset: $E (14)
- PlugInHaltIO ds.l 1 ; offset: $12 (18)
- PlugInValidateHardware ds.l 1 ; offset: $16 (22)
- PlugInGetModifierKeyState ds.l 1 ; offset: $1A (26)
- PlugInLEDStatus ds.l 1 ; offset: $1E (30)
- PlugInSetLED ds.l 1 ; offset: $22 (34)
- PlugInGetNextKey ds.l 1 ; offset: $26 (38)
- PlugInGetDeviceMode ds.l 1 ; offset: $2A (42)
- PlugInSetDeviceMode ds.l 1 ; offset: $2E (46)
- sizeof EQU * ; size: $32 (50)
- ENDR
- ENDIF
- ENDIF ; __KEYBOARDPLUGIN__
-
-